CModalDialog is an easy to use C++ class for displaying dialogs. CModalDialog takes care of all the "dirty work" for you, reducing the amount of "copy and paste" of code you have to do just to display a dialog. CModalDialog is designed for inheiritence to allow customizations for particular types of dialogs.